﻿using System.ComponentModel.DataAnnotations;

namespace MODEL
{
    /// <summary>
    /// 机构信息表
    /// </summary>
    public class Organization
    {
        [Key]
        public int Oid { get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string Oname {  get; set; }
        /// <summary>
        /// 机构封面
        /// </summary>
        public string Oimg { get; set; }
        /// <summary>
        /// 特色服务
        /// </summary>
        public int Sid {  get; set; }
        /// <summary>
        /// 营业时间
        /// </summary>
        public string StrarServiceTime {  get; set; }
        /// <summary>
        /// 机构地址
        /// </summary>
        public string Address {  get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 发布状态
        /// true已发布
        /// false未发布
        /// </summary>
        public bool IsPublish {  get; set; }
        /// <summary>
        /// 机构详情
        /// </summary>
        public string Onote {  get; set; }
        /// <summary>
        /// 逻辑删除
        /// true已删除
        /// false未删除
        /// </summary>
        public bool IsDel {  get; set; }
    }
}
